home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir40 / go200.zip / GOSETUP.BAT < prev    next >
DOS Batch File  |  1994-07-13  |  949b  |  51 lines

  1. @echo off
  2. if xxx%windir%==xxx goto NOTINWINDOWS
  3.  
  4. echo. 
  5. echo Please exit Windows(tm) and run GOSETUP again.
  6. echo.
  7. goto END
  8.  
  9. :NOTINWINDOWS
  10. strlen %godir%
  11. if not errorlevel 255 goto FOUNDGODIR
  12. echo Add the line: 
  13. echo.
  14. echo    CALL GOSETUP 
  15. echo.
  16. echo to your AUTOEXEC.BAT file.
  17. echo.
  18.  
  19. :FOUNDGODIR
  20. echo Trying to set up GO....
  21. echo.
  22.  
  23. set godir=./////////////////////////////////////////////////////////////////
  24. strlen %godir% 
  25. if not errorlevel 255 goto COOL
  26.  
  27. :ERROR
  28.  
  29. echo.
  30. echo ERROR! ERROR! hehehehe...
  31. echo.
  32. goto END
  33.  
  34. rem if %godir%==.///////////////////////////////////////////////// goto SUCESS
  35.  
  36. :COOL
  37. if errorlevel 66 if not errorlevel 67 goto SUCESS
  38.  
  39. echo.
  40. echo ERROR! GO could not be installed due to insufficient environment space
  41. echo        read the file GO_READ.ME for info on how to tweek your computer
  42. echo        to run GO.
  43. echo.
  44. goto END
  45.  
  46. :SUCESS
  47. echo GO is now installed!
  48. echo.
  49.  
  50. :END
  51.